C# using variables inside strings

51

C# using variables inside strings -

string name = "John";
string result = $"Hello {name}";

Comments

Submit
0 Comments